﻿namespace Shanda.DevFx.Security.Web.Pages
{
    using Shanda.DevFx.Security.Web;
    using System;
    using System.Web.UI.HtmlControls;

    public class IndexPage : Shanda.DevFx.Security.Web.BasePage
    {
        protected HtmlGenericControl hgcTitle;

        private void InitializeComponent()
        {
            base.add_Load(new EventHandler(this.Page_Load));
        }

        protected override void OnInit(EventArgs e)
        {
            this.InitializeComponent();
            base.OnInit(e);
        }

        private void Page_Load(object sender, EventArgs e)
        {
            this.hgcTitle.set_InnerText(Shanda.DevFx.Security.Web.AppSettings.Instance.AppTitle);
        }
    }
}

